package com.dalin.platform.loa.action;

import com.dalin.framework.action.StrutsTwoAction;
import com.dalin.framework.action.StrutsTwoAction;
import com.dalin.platform.loa.service.LoaService;
/*****************************************************************************
 * @content: 类信息                                                   *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2010-06-03                                                     *
 * @modDate: 2010-06-03                                                     *
 * @version: 1.00                                                           *
 ****************************************************************************/
public class UserDelAction extends StrutsTwoAction {
	private LoaService loaService; // 
    private Long[] idArray;
    
	public String execute() throws Exception {
		super.printInfo("", "===== this action begin");
    	try {
    		loaService.delLoaUsers(idArray);
    		setResContent(true,"");
    	} catch (Exception e) {
    		setResContent(e);
    	}
    	super.printInfo("", "===== this action end");
        return null;

    }

	public LoaService getLoaService() {
		return loaService;
	}

	public void setLoaService(LoaService loaService) {
		this.loaService = loaService;
	}
	public Long[] getIdArray() {
		return idArray;
	}

	public void setIdArray(Long[] idArray) {
		this.idArray = idArray;
	}
}
